home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
8605
/
8605.xpi
/
chrome
/
content
/
settings.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-02-07
|
8KB
|
160 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css" ?>
<?xml-stylesheet href="chrome://devany/skin/settings.css" type="text/css" ?>
<prefwindow id="dA-settings"
title="deviantAnywhere settings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
onload="ro_cvds_dASettings.init()"
ondialogaccept="return ro_cvds_dASettings.doOK()"
windowtype="devAny:settings">
<script type="application/x-javascript" src="chrome://devany/content/utils.js"></script>
<script type="application/x-javascript" src="chrome://devany/content/settings.js"></script>
<prefpane id="dA-main" label="Main" selected="true">
<preferences>
<preference id="dAAutoUpdate" name="deviantAnywhere.autoupdate" type="bool" instantApply="true" onchange="ro_cvds_dASettings.handleAutoUpdateClick()"/>
<preference id="dAChecktime" name="deviantAnywhere.checktime" type="int" />
<preference id="dAOpenNew" name="deviantAnywhere.openMsgOnNew" type="bool" instantApply="true" onchange="ro_cvds_dASettings.handleActionClick()"/>
<preference id="dANotify" name="deviantAnywhere.openNotification" type="bool"/>
<preference id="dAFocus" name="deviantAnywhere.focusTab" type="bool"/>
<preference id="dAPlaySound" name="deviantAnywhere.playsound" type="bool" instantApply="true" onchange="ro_cvds_dASettings.handleSoundClick()"/>
<preference id="dASound" name="deviantAnywhere.sound" type="string"/>
<preference id="dACustomLook" name="deviantAnywhere.customLook" type="bool" instantApply="true" onchange="ro_cvds_dASettings.handleCustomLookClick()"/>
<preference id="dABkgColor" name="deviantAnywhere.bkgcolor" type="string"/>
<preference id="dATextColor" name="deviantAnywhere.textcolor" type="string"/>
<preference id="dAShowIcon" name="deviantAnywhere.showIcon" type="bool" />
</preferences>
<groupbox>
<caption label="Auto-update" />
<rows>
<row align="left">
<checkbox id="soundCheck" label="Use auto-update" preference="dAAutoUpdate"/>
</row>
<row align="center">
<label control="checktime" value="Check for messages every" id="checkTimeLabel"/>
<textbox id="checktime" size="3" preference="dAChecktime" type="number" min="1"/>
<label value="seconds" id="checkTimeSuffix"/>
</row>
</rows>
</groupbox>
<groupbox>
<caption label="When I receive new messages" />
<rows>
<row>
<checkbox label="Show notification alert" id="notifyCheck" preference="dANotify"/>
</row>
<row>
<checkbox label="Open messages page in new tab" id="openCheck" preference="dAOpenNew"/>
</row>
<row>
<checkbox id="focusCheck" label="Focus the messages tab after opening" disabled="true" preference="dAFocus"/>
</row>
</rows>
</groupbox>
<groupbox>
<caption label="Sound" />
<rows>
<row align="left">
<checkbox id="soundCheck" label="Play sound" preference="dAPlaySound"/>
</row>
<row>
<label id="soundLabel" control="sound" value="Choose a sound:" disabled="true"/>
<menulist id="sound" preference="dASound" disabled="true">
<menupopup>
<menuitem label="Splat" value="chrome://devany/content/sounds/splat.wav" />
<menuitem label="Mix" value="chrome://devany/content/sounds/mix.wav"/>
<menuitem label="Slice" value="chrome://devany/content/sounds/slice.wav"/>
<menuitem label="Zing" value="chrome://devany/content/sounds/zing.wav"/>
</menupopup>
</menulist>
</row>
</rows>
</groupbox>
<groupbox>
<caption label="Appearances" />
<rows id="customLookRow">
<row>
<checkbox id="customLookCheck" label="Use custom look" preference="dACustomLook"/>
</row>
</rows>
<grid>
<columns>
<column flex="1"/>
<column flex="2"/>
<column flex="3"/>
<column flex="4"/>
</columns>
<rows>
<row align="left">
<label id="bkgColorLabel" control="bkgColor" value="Background color:" />
<colorpicker type="button" preference="dABkgColor" id="bkgColor" color="#728776"/>
<button id="defultBkg" onclick="ro_cvds_dASettings.setDefaultBkg()" label="Default" />
</row>
<row align="left">
<label id="textColorLabel" control="numberColor" value="Text color:" />
<colorpicker type="button" preference="dATextColor" id="textColor" color="#FFFFFF"/>
<button id="defultText" onclick="ro_cvds_dASettings.setDefaultText()" label="Default" />
</row>
</rows>
</grid>
<rows id="useIconRow">
<row>
<checkbox id="showIconCheck" label="Show deviantArt icon" preference="dAShowIcon"/>
</row>
</rows>
</groupbox>
</prefpane>
<prefpane id="dA-behave" label="Advanced">
<preferences>
<preference id="dAUseAutologin" name="deviantAnywhere.useautologin" type="bool" instantApply="true" onchange="ro_cvds_dASettings.handleAutoLoginClick()"/>
<preference id="dAUsername" name="deviantAnywhere.username" type="string" />
</preferences>
<groupbox id="autoLoginBox">
<caption id="autoLoginLabel" label="Automatic login"/>
<grid>
<columns>
<column flex="1"/>
<column flex="2"/>
</columns>
<rows>
<row>
<checkbox id="autoLoginCheck" label="Use auto-login" preference="dAUseAutologin"/>
</row>
<row align="center">
<label id="usernameLabel" control="username" value="Deviant name:" disabled="true"/>
<textbox id="username" size="32" preference="dAUsername" disabled="true"/>
</row>
<row align="center">
<label id="passwordLabel" control="password" value="Password:" disabled="true"/>
<textbox id="password" size="32" type="password" disabled="true"/>
</row>
<row align="right">
<label id="loginLink" href="http://www.deviantart.com/users/login" class="text-link" value="Login myself" disabled="true"/>
<button id="whyBtn" label="Why?" accesskey="w" oncommand="alert('The fields are optional.\nIf you haven\'t already login in the browser, we use the \'Deviant name\' and \'Password\' to automatically log you in')" disabled="true"/>
</row>
</rows>
</grid>
</groupbox>
</prefpane>
<hbox id="winButtons">
<button label="Ok" accesskey="O" oncommand="if(ro_cvds_dASettings.doOK()) window.close();"/>
<button label="Cancel" accesskey="C" oncommand="window.close()"/>
</hbox>
</prefwindow>